Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved painless error toasts #91346

Merged
merged 11 commits into from
Feb 16, 2021

Conversation

mattkime
Copy link
Contributor

@mattkime mattkime commented Feb 14, 2021

Summary

A painless script failed while performing a query. Why?

Before -

Screen Shot 2021-02-06 at 6 22 02 PM

After -
Screen Shot 2021-02-08 at 4 14 08 PM

to test
edit src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx
on line 801 set isValid to true and disable the next five lines that were part of the assignment.

now you can write bad painless that will easily return errors!

@mattkime mattkime changed the title Improved painless error toasts c Improved painless error toasts Feb 14, 2021
@mattkime mattkime requested a review from lizozom February 14, 2021 05:18
@mattkime
Copy link
Contributor Author

@elasticmachine merge upstream

@mattkime mattkime marked this pull request as ready for review February 14, 2021 15:20
@mattkime mattkime requested a review from a team as a code owner February 14, 2021 15:20
@mattkime mattkime added release_note:skip Skip the PR/issue when compiling release notes v8.0.0 v7.12.0 Team:AppServices labels Feb 14, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

@mattkime mattkime added Feature:Search Querying infrastructure in Kibana Project:RuntimeFields Feature:Scripted Fields Scripted fields features labels Feb 14, 2021
Copy link
Contributor

@lizozom lizozom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
data 798.7KB 800.6KB +1.9KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@mattkime mattkime merged commit 5f500a3 into elastic:master Feb 16, 2021
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 91346 or prevent reminders by adding the backport:skip label.

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Feb 18, 2021
@mattkime mattkime removed the v7.12.0 label Feb 18, 2021
mattkime added a commit to mattkime/kibana that referenced this pull request Feb 18, 2021
* better painless error modal
@kibanamachine
Copy link
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Feb 19, 2021
mattkime added a commit that referenced this pull request Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Scripted Fields Scripted fields features Feature:Search Querying infrastructure in Kibana Project:RuntimeFields release_note:skip Skip the PR/issue when compiling release notes v7.13.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants